/**
 */
package ram_av;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Interaction Fragment</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link ram_av.InteractionFragment#getCovered <em>Covered</em>}</li>
 *   <li>{@link ram_av.InteractionFragment#getContainer <em>Container</em>}</li>
 * </ul>
 * </p>
 *
 * @see ram_av.Ram_avPackage#getInteractionFragment()
 * @model annotation="http://www.eclipse.org/emf/2002/Ecore constraints='validCoveredMultiplicity'"
 *        annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot validCoveredMultiplicity='if not self.oclIsTypeOf(CombinedFragment) and covered->notEmpty() then covered->size() = 1 else true endif' validCoveredMultiplicity$message='\'InteractionFragment may only have one Lifeline it covers (except CombinedFragment)\''"
 * @generated
 */
public interface InteractionFragment extends EObject
{
  /**
   * Returns the value of the '<em><b>Covered</b></em>' reference list.
   * The list contents are of type {@link ram_av.Lifeline}.
   * It is bidirectional and its opposite is '{@link ram_av.Lifeline#getCoveredBy <em>Covered By</em>}'.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Covered</em>' reference list isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Covered</em>' reference list.
   * @see ram_av.Ram_avPackage#getInteractionFragment_Covered()
   * @see ram_av.Lifeline#getCoveredBy
   * @model opposite="coveredBy" ordered="false"
   * @generated
   */
  EList<Lifeline> getCovered();

  /**
   * Returns the value of the '<em><b>Container</b></em>' container reference.
   * It is bidirectional and its opposite is '{@link ram_av.FragmentContainer#getFragments <em>Fragments</em>}'.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Container</em>' container reference isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Container</em>' container reference.
   * @see #setContainer(FragmentContainer)
   * @see ram_av.Ram_avPackage#getInteractionFragment_Container()
   * @see ram_av.FragmentContainer#getFragments
   * @model opposite="fragments" transient="false" ordered="false"
   * @generated
   */
  FragmentContainer getContainer();

  /**
   * Sets the value of the '{@link ram_av.InteractionFragment#getContainer <em>Container</em>}' container reference.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Container</em>' container reference.
   * @see #getContainer()
   * @generated
   */
  void setContainer(FragmentContainer value);

} // InteractionFragment
